﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ORoleList.aspx.cs" Inherits="YWTSSys.Web.MachineSys.SysBasic.ORoleList" %>

<form id="pagerForm" method="post" action="SysBasic/ORoleList.aspx">

<input type="hidden" name="orderField" value="" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="form1" runat="server" method="post" action="SysBasic/ORoleList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
   <h2>角色管理</h2> 
</div>

<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
        <% if (HasPower(YWTSSys.Web.Permission.新增))
           {%>
            <li><a class="add" href="SysBasic/ORoleAdd.aspx" target="navTab" title="添加角色"><span>添加</span></a></li>
           <%} %>
            <% if (HasPower(YWTSSys.Web.Permission.删除))
               {%>
            <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=DeleteRole&RoleId={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
           <%} %>
             <% if (HasPower(YWTSSys.Web.Permission.修改))
                {%>
            <li><a class="edit" href="SysBasic/ORoleEdit.aspx?RoleId={sid_user}" target="navTab"  title="修改角色信息"><span>修改</span></a></li>
            <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="138">
        <thead>
            <tr  >                
                <th width="80">
                    角色ID
                </th>
                <th width="120">
                    角色名称
                </th>
                <th>
                    说明
                </th>
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("RoleId") %>">
				<td><%# Eval("RoleId") %></td>
				<td><%# Eval("RoleName") %></td>
				<td><%# Eval("ReMark")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    
</div>
</form>
